/**
 * @date 11:03:22 AM
 * IEducationSubjectLessonDao.java
 * Administrator
 * TODO
 */
package com.qs.education.bean.dao;

import java.util.List;

import com.qs.education.bean.entity.EducationQuestion;
import com.qs.education.bean.entity.EducationSubjectLesson;

/**
 * @class IEducationSubjectLessonDao	
 * @author Warren
 * @description
 * @date Nov 20, 2018 
 */
public interface IEducationSubjectLessonDao  extends IBaseDao<EducationSubjectLesson> {
	
	/**
	 * @Description 根据课时查询课时下所有题目的数量
	 * @author Leon
	 * @date   Nov 20, 2018
	 * @param  
	 * @return Integer
	 */
	public Integer  selectQuestionCount(Long id);
	
	/**
	 * @Description 根据选择的课时 题目数量 场景 以及 题目难度进行 智能组题
	 * @author Leon
	 * @date Nov 21, 2018
	 * @param params：[ {lessonId:1,number:2}, {lessonId:2,number:3} ] scenes: 场景
	 *        level ： 等级
	 * @return ResponseListBean<EducationQuestion>
	 */
	public List<EducationQuestion> getQuestionListByLesson(List<String> lessonIds,List<String> numbers,String scenes, String level); 
	
	/**
	 * @Description 根据lessonIds 批量查询 Education
	 * @author Leon
	 * @date   Nov 23, 2018
	 * @param  
	 * @return List<EducationSubjectLesson>
	 */
	public List<EducationSubjectLesson> getLessonByIds(List<Long> lessonIds);
}
